package com.ht.oss.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

import java.util.Arrays;
import java.util.List;

@Data
@Configuration
@ConfigurationProperties(prefix = "custom.buckets")
public class BucketsConfig {
    String bucketsRoot;
    List<String> buckets = Arrays.asList("image", "obj");
    String imageBucket = "image";
    String objBucket = "obj";
}
